@SET STSADM="c:\program files\common files\microsoft shared\web server extensions\14\bin\stsadm"

net stop SPAdminV4

%STSADM% -o deactivatefeature -name EF_EFInspectUniquePerm -url http://SiteCollectionUrl -force
%STSADM% -o execadmsvcjobs

%STSADM% -o retractsolution -name EFInspectUniquePerm.wsp -immediate -allcontenturls
%STSADM% -o execadmsvcjobs

%STSADM% -o deletesolution -name EFInspectUniquePerm.wsp -override
%STSADM% -o execadmsvcjobs

net start SPAdminV4

pause
